<?php

class Welcome extends MY_Controller {


    function index() {
        $this->layout->setLayout('theme1');
        $this->layout->css = array('myPage');
        
        $data['user'] = array(
            array('username'=>'kamal','password'=>'password'),
            array('username'=>'Amit','password'=>'123'),
            array('username'=>'Depanker','password'=>'asd'),
            array('username'=>'Kanuj','password'=>'qwer'),
            array('username'=>'Rakesh','password'=>'ttt')
            );
        $this->layout->view('list_users',$data);
    }
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */

/*<?php

class Welcome extends Controller {

	function Welcome()
	{
		parent::Controller();	
	}
	
	function index()
	{
		$this->load->view('welcome_message');
	}
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */